package newsDB;

import java.util.List;

import newsEntity.News_users;

public class News_usersDao extends BaseDao {
	public static News_usersDao nd = new News_usersDao();

	public News_users signin(String uname, String upwd) {
		String sql = "SELECT * FROM news_users WHERE uname=? AND upwd=?";
		List<News_users> list = find(sql, News_users.class, uname, upwd);
		return list.get(0);
	}
}
